<div id="order-pay-dialog" class="order-pay-dialog-c" style="width:600px;">
	<h3><span id="order-pay-dialog-close" class="close" onclick="return X.boxClose();">关闭</span></h3>
	<div style="overflow-x:hidden;padding:10px;" id="dialog-order-id" oid="{$partnerincome['id']}">
	<table width="96%" align="center" class="coupons-table" id="income">
		<tr><td width="80"><b>状态：</b></td><td><select id="income-dialog-state" name="state" class="f-input" style="width:100px;">${Utility::Option($income_state, $partnerincome['state'])}</select></td></tr>
		<tr><td><b>备注：</b></td><td><textarea cols="45" rows="5" name="remarks" id="income-dialog-remarks" class="f-textarea" style="height:200px; width:400px;">${htmlspecialchars($partnerincome['remarks'])}</textarea></td></tr>
		<tr><td><b></b></td><td><input type="submit" value="确定" class="formbutton" onclick="return adjustfee();" /></td></tr>
	</table>
	</div>
</div>

<script type="text/javascript">
function adjustfee() {
	var s = jQuery('#income-dialog-state').val();
	var r = jQuery('#income-dialog-remarks').val();
	var oid = jQuery('#dialog-order-id').attr('oid');
	if(s&&oid) return !X.get(WEB_ROOT + '/manage/partner/income/ajax.php?action=incomeshedit&id='+oid+'&s='+s+'&r='+encodeURIComponent(r));
};
</script>
